package com.danco.training.hoteladmin.core;

public class Room {
	 private int roomPrice;
	 private int capacity;
	 private int countOfStars;
	 private boolean isFree;
	 private boolean workingStatus;
	 private int clientId;
	 
	  public int getRoomPrice() {
		return roomPrice;
	  }

	  public void setRoomPrice(int roomPrice) {
		this.roomPrice = roomPrice;
	  }

	  public int getCapacity() {
		return capacity;
	  }

	  public void setCapacity(int capacity) {
		this.capacity = capacity;
	  }	 

	  public int getCountOfStars() {
		return countOfStars;
	  }

	  public void setCountOfStars(int countOfStars) {
		this.countOfStars = countOfStars;
	  }

	  public boolean isFree() {
		return isFree;
	  }

	  public void setFree(boolean isFree) {
		this.isFree = isFree;
	  }

	  public boolean isWorkingStatus() {
		return workingStatus;
	  }

	  public void setWorkingStatus(boolean workingStatus) {
		this.workingStatus = workingStatus;
	  }

	  public int getClientId() {
		return clientId;
	  }

	  public void setClientId(int clientId) {
		this.clientId = clientId;
	  }

	  public Room(int roomPrice, int capacity, int countOfStars){
		  this.roomPrice = roomPrice;
		  this.capacity = capacity;
		  this.countOfStars = countOfStars;
		  this.isFree = true;
		  this.workingStatus = true;		 
	  }	
	  
	  public void showRoomInfo() {
		  System.out.println(  this.roomPrice + " " + this.capacity + " " + this.countOfStars +
				  " " + this.isFree + " " + this.workingStatus);
	  }
}

